/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package banco;

import java.sql.SQLException;

/**
 *
 * @author Leonardo
 */
public class TesteBanco {
    public static void main(String[] args){
        ConnectionBD c = new ConnectionBD();
        try{
            c.conecta();
            c.exec("SELECT * FROM yazigi_professor;");
        }catch(Exception e){
            System.out.println("Erro SQL");
        }
    }
}
